package com.ruoyi.teaching.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.PlatformFFeedback;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.teaching.domain.dto.feedbackFrontDownSortDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王旭
 * @since 2025-02-12
 */
public interface PlatformFFeedbackService extends IService<PlatformFFeedback> {

    AjaxResult frontUp(Integer pageNum, Integer pageSize, Integer feedbackStatus);

    AjaxResult frontDown(Integer pageSize, Integer pageNum, Integer replySort,Integer lookSort,Integer timeSort,String title,Integer feedbackStatus);

    AjaxResult detail(Long objectId, Integer type);

    AjaxResult commentList(Long feedbackId, Integer pageNum, Integer pageSize);

    AjaxResult addFeedbackOrComment(PlatformFFeedback platformFFeedback);

    AjaxResult deleteFeedbackOrComment(Long[] ids);

    AjaxResult myFeedback(Integer pageNum, Integer pageSize, String title, Integer feedbackStatus, Long feedbackType, Integer time);

    AjaxResult myCommentList(Integer pageNum, Integer pageSize, Integer type);

    AjaxResult backAllFeedback(Integer pageNum, Integer pageSize, String title, Integer feedbackStatus, Long feedbackType, Integer time);

    AjaxResult updateFeedback(List<PlatformFFeedback> platformFFeedbackList);

    AjaxResult deleteFeedback(Long[] ids);

    AjaxResult addLookCount(Long feedbackId);
}
